﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CMN.Entity
{
      ///<summary>
    ///DHT_InfoHashEntity实体类(Hash记录)
    ///</summary>
    [Serializable]
    public partial class DHT_InfoHashEntity
    {
        #region "Private Variables"
        private DataTableAction _DataTable_Action;  // 操作方法 Insert:增加 Update:修改 Delete:删除
        private String _InfoHash = ""; // InfoHash
        private int _HashType = 1; // Hash类型
        private DateTime _AddDate=DateTime.Now; // 
        private String _NodeInfo=""; // 下载地址
        private DateTime startFindTime = DateTime.Now;
        #endregion

        #region "Public Variables"
        ///<summary>
        /// 操作方法 Insert:增加 Update:修改 Delete:删除
        ///</summary>
        public DataTableAction DataTable_Action
        {
            set { this._DataTable_Action = value; }
            get { return this._DataTable_Action; }
        }
        /// <summary>
        /// 开始查找时间
        /// </summary>
        public DateTime StartFindTime
        {
            get { return startFindTime; }
            set { this.startFindTime = value; }
        }
        /// <summary>
        /// InfoHash
        /// </summary>
        public String InfoHash
        {
            set { this._InfoHash = value; }
            get { return this._InfoHash; }
        }
        /// <summary>
        /// Hash类型
        /// </summary>
        public int  HashType
        {
            set { this._HashType = value; }
            get { return this._HashType; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime  AddDate
        {
            set { this._AddDate = value; }
            get { return this._AddDate; }
        }
        /// <summary>
        /// 下载地址
        /// </summary>
        public String  NodeInfo
        {
            set { this._NodeInfo = value; }
            get { return this._NodeInfo; }
        }
        #endregion
    }
}
